<?php
$urlup="http://www.baidu.com/s?wd=";
$url=urlencode($_POST['textname']);
$up=$urlup.$url;
echo "<meta http-equiv=\"refresh\" content=\"0;url=$up\">";
?>
